<div class="layui-form" id="add-form" lay-filter="add-form">
    <div class="layui-form-item">
        <label class="required">报表名称:</label>
        <script type="text/html" template>
            <input type="text" name="name" class="layui-input" lay-verify="required" style="margin: 15px 0;"
                value="{{d.params.name ? d.params.name : ''}}">
        </script>
        <button class="layui-btn" lay-submit lay-filter="add-submit">立即提交</button>
    </div>
</div>